namespace System.Runtime.Remoting.ViewService
{
    public interface IViewServer
    {
        IActionsPool Actions { get; }
        IPropertiesPool Properties { get; }
        IEventsPool Events { get; }
        event MessageEventHandler OnMessage;

        void Print(string Message);
        string ApplicationName { get; }
    }

    [Serializable]
    public delegate void MessageEventHandler(object Sender, MessageEventArgs args);


    [Serializable]
    public class MessageEventArgs : EventArgs
    {
        public string Message { get; set; }
    }
}